#include "ani.h"
#include <QtGui>
ani::ani(QWidget *parent, Qt::WFlags flags)
	: QMainWindow(parent, flags)
{
	ui.setupUi(this);
}

ani::~ani()
{

}

void ani::Doit()
{
	QPropertyAnimation *pa = new QPropertyAnimation(m_pTmp,"geometry");
	pa->setDuration(1000);
	pa->setStartValue(QRectF(100,100,500,500));
	pa->setEndValue(QRectF(100,100,250,250));

	pa->start();


}
